package com.lottery.system.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author: xiaoxie
 * create: 2024-09-05 12:22
 * @BelongsProject: lottery-system
 * @BelongsPackage: com.lottery.system.controller.param
 * description: 通过手机验证码登录的参数
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserLoginByCaptchaParam extends UserLoginBaseParam{
    /**
     * @description: 手机号
     **/
    @NotBlank(message = "手机号不能为空!")
    private String phoneNumber;
    /**
     * @description: 验证码
     **/
    @NotBlank(message = "验证码不能为空!")
    private String code;

}